import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

    list(data) {
        return request({
            url: 'tradeTrans/list',
            headers: {},
            method: 'post',
            data,
        });
    },


    // 获取options
    getOptions(data) {
        return request({
            url: 'bank/channelInfo/options',
            headers: {},
            method: 'post',
            data,
        });
    },


    // 提现初审
    withdrawFirstReview(data) {
        return request({
            url: 'tradeTrans/withdrawFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },
    // 提现复审
    withdrawSecondReview(data) {
        return request({
            url: 'tradeTrans/withdrawSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },
    // 转账初审
    transferFirstReview(data) {
        return request({
            url: 'tradeTrans/transferFirstReview',
            headers: {},
            method: 'post',
            data,
        });
    },
    // 转账复审
    transferSecondReview(data) {
        return request({
            url: 'tradeTrans/transferSecondReview',
            headers: {},
            method: 'post',
            data,
        });
    },

};